package com.yxw.springmvc.test;

        import org.springframework.web.bind.annotation.RequestMapping;
        import org.springframework.web.bind.annotation.RestController;

/**
 * Created by hp on 2016/7/29.
 */
@RestController
@RequestMapping("/classPath")
public class ApplicationDemo2 {
    @RequestMapping("/methodPath")
    public String index(){
        return "this is /classPath/methodPath";
    }
}
